<template>
    <van-cell is-link :to="to">
        <template #title>
            <img style="height: 24px;vertical-align: middle;margin-right: 10px;" src="~@/assets/images/mine-setting.png" alt="">
            <span class="custom-title" style="vertical-align: middle;">{{ title }}</span>
        </template>
    </van-cell>
</template>

<script>
    export default {
        name: "titleCell",
        props: {
            title: String,
            to: String
        }
    }
</script>

<style scoped>

</style>